package com.bjsxt.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bjsxt.domain.UserAddress;

public interface UserAddressService extends IService<UserAddress> {

    /**
     * 根据用户 id 分页查询钱包地址数据
     *
     * @param page   分页对象<UserAddress>
     * @param userId 用户 id
     * @return 统一响应对象
     */
    Page<UserAddress> pageByUserId(Page<UserAddress> page, Long userId);
}
